package day04;

import java.util.Scanner;

/**
 * @author jhj
 * @date 2022/5/12 9:08
 */
public class CompareNums {
    public static void main(String[] args) {
        int e = new Scanner(System.in).nextInt();
        int f = new Scanner(System.in).nextInt();
        int g = new Scanner(System.in).nextInt();
        // int e=3,f=2,g=1;
        int i = (e >= f) ? ((f >= g) ? g : f) : ((e >= g) ? g : e);
        System.out.println(i);
    }
}
